package com.zuxia.order;

import com.zuxia.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-order")
public interface OrderOpenFeginApi {
    @GetMapping("/order/single/orders/{id}")
    R getOrdersById(@PathVariable("id") String id);
    @GetMapping("/order/group/single/{id}")
    R getOrderById(@PathVariable("id") String id);
    @GetMapping("/payment/{id}")
    R payment(@PathVariable("id") String orderId);
    @GetMapping("/order/merchant/send/shop/{id}")
    R sendShop(@PathVariable("id") String id);
    @GetMapping("/order/orderId/{id}")
    R selectOrderIdById(@PathVariable("id") String id);
}
